
// 实例化vue对象
var vue = new Vue({
    el: "#vue-app",
    data:{
      name:"Halo",
        age:""

    },
    methods:{
        logName:function () {
            // this.name = this.$refs.name.value;
        },


        logAge:function () {
            this.age = this.$refs.age.value;

        },
    }
});